<?php

namespace app\admin\model;

use traits\model\SoftDelete;

class Video extends Base
{
    use SoftDelete;

    protected $autoWriteTimestamp = 'datetime';

    public function getStatusAttr($value)
    {
        $status = [1=>'应用',2=>'禁用'];

        return $status[$value];
    }


}